Testing Microcontroller Software Simulators

نویسندگان

  • Thomas Reinbacher
  • Dominique Gückel
  • Stefan Kowalewski
  • Martin Horauer
چکیده

Software simulators that emulate equivalent behavior of physical microcontrollers play an important role in the process of software development for embedded systems from an early development stage (e.g. when no target hardware is available) to the final verification process (e.g. used in combination with formal methods). Thus, much reliance is put on the correctness of these simulators. This paper presents a practicable approach to test auto-generated and custom microcontroller simulators (both closed and open-source) against a physical device. We show how to set up a test oracle that allows to run the simulators in parallel, validate individual runs based on a comparison of their accumulated state-space, and – in case an error is found – finger-point to the root cause of the error, thus giving valuable support for fixing the discrepancies. A case study shows that the presented testing framework was able to reveal non-trivial bugs in several implementations.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

PILOTS: Embedded Software Testing for High-Power Rocketry Payloads

A processor-in-the-loop system was developed for ground testing of software for high-power rocketry avionics and payloads. During flight, these devices are exposed to environmental conditions not easily replicated on the ground. However, flight testing is expensive and occasionally unsafe to perform without verification that the software functions properly. The system extends OpenRocket, an ope...

متن کامل

Cycle-True Simulation of the ST10 Microcontroller Including the Core and the Peripherals

With the rising complexity of electronic systems, containing more and more both hardware and software parts, it becomes necessary to simulate simultaneously hardware and software parts at whatever abstraction level. These simulation techniques, called co-simulation, require fast and flexible simulators. In this paper, we introduce the elaboration of a microcontroller simulator including the cor...

متن کامل

Multilevel Test Method for testing Microcontroller based ECG system

Embedded systems are very complex and integrate heterogenous components on a single chip. Testing methodologies differ in hardware and software domains. Hardware testing concerns with the functional verification whereas the software testing is concerned with the series of processes of dynamically executing a program with the given inputs to make sure that code does that what it was designed for...

متن کامل

Arduino based I/O-system for rapid prototyping of robotic systems

This paper presents a possible solution for the difficult balancing act between abstraction and controllability developers face when designing a complex autonomous system. The problem can be tackled by creating dedicated microcontroller based I/O-systems for achieving controllability of sensors and actors. Abstraction is provided by the use of a C++ software framework which hides the communicat...

متن کامل

Interactive 6811 Simulator for Microcontroller Software Interfacing

This paper presents a microcontroller hardware/software simulator which is used in a laboratory setting to educate undergraduate electrical engineering students. The specific objectives of the course include microcomputer architecture, assembly language programming, data structures, modular programming techniques, debugging strategies, hardware/software interfaces and embedded microcontroller a...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011